package ThreadPool;

public class myRunnerable implements Runnable{
    @Override
    public void run() {
        for (int i = 0; i < 5; i ++ ) {
            System.out.println(Thread.currentThread().getName() + "输出:Hello world=====>" + i);
        }
        try{
            System.out.println(Thread.currentThread().getName() + "进入休眠");
            Thread.sleep(1000000);
        }catch (Exception e){
            e.printStackTrace();
        }
    }
}
